package hy;

public class 空指针异常 {
    public static void main(String[] args) {
        m1(null);
    }
    static void m1(Person p){
        System.out.println(p.age);
    }
}
